$OpenBSD: patch-boehm-gc_mach_dep_c,v 1.1.1.1 2016/09/04 16:20:15 pascal Exp $
--- boehm-gc/mach_dep.c.orig	Wed Jan 25 04:03:14 2006
+++ boehm-gc/mach_dep.c	Tue Nov 22 14:12:40 2011
@@ -27,7 +27,7 @@
 #   endif
 # endif
 
-#if defined(RS6000) || defined(POWERPC)
+#if (defined(RS6000) || defined(POWERPC)) && !defined(OPENBSD)
 # include <ucontext.h>
 #endif
 
@@ -417,7 +417,7 @@ ptr_t arg;
         /* the stack.						*/
         __builtin_unwind_init();
 #     else /* !HAVE_BUILTIN_UNWIND_INIT */
-#      if defined(RS6000) || defined(POWERPC)
+#      if (defined(RS6000) || defined(POWERPC)) && !defined(OPENBSD)
 	/* FIXME: RS6000 means AIX.				*/
         /* This should probably be used in all Posix/non-gcc	*/
         /* settings.  We defer that change to minimize risk.	*/
